#!/usr/bin/env python3
# -*- coding:utf-8 -*-
# Copyright (c) Megvii, Inc. and its affiliates.

import os

from yolox.exp import Exp as MyExp


class Exp(MyExp):
    def __init__(self):
        super(Exp, self).__init__()
        self.depth = 1.0
        self.width = 1.0
        self.exp_name = os.path.split(os.path.realpath(__file__))[1].split(".")[0]

        self.input_size = (800, 1280)

        self.data_num_workers = 2

        self.train_ann = "train.json"
        self.val_ann = "val.json"

        self.eval_interval = 1

        self.test_size = (800, 1280)
        self.test_conf = 0.1
        self.nmsthre = 0.4

        self.mosaic_scale = (0.1, 1.5)

        self.num_classes = 1
